package com.huilian.iotbox.admin.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.huilian.iotbox.admin.dao.CommodityProjectDao;
import com.huilian.iotbox.admin.service.CommodityProjectService;
import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.CommodityProjectDeviceDto;
import com.huilian.iotbox.data.dto.CommodityProjectDto;
import com.huilian.iotbox.data.enums.CommodityProjectDeleteStatusEnum;
import com.huilian.iotbox.data.po.CommodityProject;
import com.huilian.iotbox.data.po.CommodityProjectUpDownDatabase;
import com.huilian.iotbox.data.vo.CommodityProjectVo;
import com.huilian.iotbox.data.vo.DeviceVo;
import com.huilian.iotbox.data.vo.UserInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author LinYinDong
 * @date 2023/5/13 14:11
 */
@Service
@Slf4j
public class CommodityProjectServiceImpl implements CommodityProjectService {
    @Resource
    private CommodityProjectDao commodityProjectDao;
    @Override
    public List<CommodityProjectVo> findByCommodityProjectUpDownIdList(List<CommodityProjectUpDownDatabase> commodityProjectUpDownDatabase) {
        return commodityProjectDao.findByCommodityProjectUpDownIdList(commodityProjectUpDownDatabase);
    }


}
